package com.jtny.nytb.weather.entity.vo;

import com.jtny.component.annotation.QueryParamField;
import com.jtny.component.entity.PageParam;
import com.jtny.component.enums.FieldMatchingTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@ApiModel("天气基础信息分页查询参数VO对象")
@Data
public class WeatherBasicInfoPageQueryParamVO extends PageParam {

    @ApiModelProperty("api接口信息查询条件，模糊查询")
    @QueryParamField(columnName = "city", matchingType = FieldMatchingTypeEnum.LIKE)
    private String city;

    @ApiModelProperty("api接口信息查询条件，精确查询")
    @QueryParamField(columnName = "weather_info_type", matchingType = FieldMatchingTypeEnum.EQ)
    private Integer weatherInfoType;
}
